package com.niren.userservice.feignClient;

import com.niren.commonmodule.entity.SysDeviceInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * \* author: wky
 * \* Date: 2024/11/25
 * \* Time: 10:14
 * \* Project: microservice
 * \* Package: com.niren.userservice.feignClient
 * \* Version: 1.0.0
 * \* To change this template use File | Settings | File Templates.
 * \* Description:请输入源文件描述
 * \
 */
//device-service 是 device-service 在nacos中注册的服务名
@FeignClient(value="device-service")
public interface DeviceServiceFeignClient {

    @PostMapping(value = "/device/adddevinfo")
    String addDevInfo(@RequestBody SysDeviceInfo dev);
}
